package com.tanhua.manager.utils;

import com.tanhua.manager.pojo.Manager;

public class ManagerThreadLocal {

    private static final ThreadLocal<Manager> LOCAL = new ThreadLocal<>();

    private ManagerThreadLocal(){}

    public static  void set(Manager manager){
        LOCAL.set(manager);
    }

    public static Manager get(){
        return  LOCAL.get();
    }
}